package com.bosssoft.trainee.nontax.entity.po;

import lombok.*;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

@Component
@Builder
@Setter
@Getter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(of={"permissionId"})
public class Permission implements Serializable {
    private static final long serialVersionUID = -54136788739634637L;
    
    private Long resourceId;
    
    private String optionName;
    /**
     * 标识，和前端一致
     */
    private String optionTag;
    
    private Integer permissionId;

    private Date createTime;

    private Date updateTime;
}

